package com.suma.platform.core.util;

/**
 * @author suma
 * @date 2018/2/24 上午9:59
 */
public class InitParent {

	public static String staticString = "staticString";
	public static final String staticFinalString = "staticFinalString";
	public String string = "string";

	int i = 9;
	int j;

	static {
		System.out.println("parent static block");
	}
	{
		System.out.println("parent nonstatic block");
	}

	InitParent() {
		System.out.println("init parent construct");
		prt("i= " + i + " j=" + j);

		j = 39;
	}

	static int x1 = prt("static insect x1 initialized");

	static int prt(String s) {
		System.out.println(s);
		return 47;
	}
}
